#!/bin/bash

rm ./data/*

heat=127.0
iterations=100

NODES=creek01,creek02,creek03

for i in 2 4 6 8 10 12
do
	echo "$i ..."
	for p in 128 512 1024 2048 4096
	do
		echo "$p ..."
		mpirun -host $NODES -np $i ./bin/hr2 $iterations $p $heat >> ./data/res_np$i.log
	done
done

